<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
String path = request.getContextPath();
request.setAttribute("path", path);
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'showClass.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="${path }/css/haiersoft.css" rel="stylesheet" type="text/css" media="screen,print" />
	<link href="${path }/css/print.css" rel="stylesheet" type="text/css"  media="print" />
	<script src="${path }/js/jquery-1.10.1.min.js"></script>
	<script src="${path }/js/side.js" type="text/javascript"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
  </head>
  
  <body>
<!-- wrap_right -->
<div class="wrap_right">
<header>
<!-- Header -->

<!-- /Header -->
</header>


<!-- Contents -->
<div id="Contents">

<!-- MainForm -->
<div id="MainForm">
<div class="form_boxA">
<h2>班级排课</h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th>序号</th>
<th>班级名称</th>
<th>排课数量</th>
<th>操作</th>
</tr>
<jstl:forEach items="${t_ClassList }" var="t_Class">
	<tr>
	<td>${t_Class.id }</td>
	<td>${t_Class.classname }</td>
	<td>${fn:length(t_Class.curriculumcardList) }</td>
	<td><a href="${pageContext.request.contextPath}/Curriculumcard/queryByT_ClassId?t_ClassId=${t_Class.id }">排课</a></td>
	</tr>
</jstl:forEach>
</table>

</div>
</div>
<!-- /MainForm -->
</div>
</div>
  </body>
</html>
